package annotationtablemodel;

import annotationtablemodel.suppx.ems.annotatedtable.annotations.AnnotatedTableField;
import annotationtablemodel.suppx.ems.annotatedtable.annotations.AnnotatedTableFieldType;

/**
 * @author Dmitry Savchenko
 */
public class User {
    public static final int NAME=0;
    public static final int HEIGHT=1;
    
    
    @AnnotatedTableField(column="Name", id=NAME)
    private String name;
    
    @AnnotatedTableField(column="Height", id=HEIGHT)
    private int height;

    public int getHeight() {
        return height;
    }
    
    public String getHeightStringValue(){
        return ""+height+" см.";
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    
}
